<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  <%@page import="com.sun.jersey.server.impl.container.servlet.Include"%>
 <%@page import="com.jun.hrm.HrmUtil"%>
 <%@ page import="weaver.hrm.*" %>
 <%@ page import="weaver.conn.RecordSet" %>
 <%@page import="com.jun.sso.TicketUtil"%>
 <%@page import="java.util.*"%>
 <jsp:useBean id="getimg"   class="com.weaver.face.Util" scope="page" />   
 <%@ include file="../base.jsp" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>价值专区-后台</title>
	
	<link rel="stylesheet" href="css/bootstrap.css">
	<link rel="stylesheet" href="css/cqxz.css">
	<!-- Link Swiper's CSS -->
	<link rel="stylesheet" type="text/css" href="css/simple-calendar.css">
	<link rel="stylesheet" type="text/css" href="css/slicebox.css" />
	<link rel="stylesheet" type="text/css" href="css/custom.css" />
	<link rel="stylesheet" type="text/css" href="css/fenxiang.css">
	<link rel="stylesheet" type="text/css" href="css/zeroModal.css" />
    
    <link  href="<%=basePath%>/portals/vote/layui/css/layui.css" rel="stylesheet">
    <script src="<%=basePath %>/portals/vote/js/jquery-2.1.1.min.js" ></script>
    <script src="<%=basePath %>/portals/vote/layui/layui.js"></script>
    <script src="<%=basePath %>/portals/vote/js/after.js" ></script>
    <link href="<%=basePath %>/portals/vote/css/after/year.css" rel="stylesheet" >
</head>
 

 <body>
    <!-- 公共顶部 -->
   	<div class="com_header"> 
        <div class="header-w">  
		    <%@ include file="/portals/v3/top.jsp" %>   
       </div> 
  	</div>  

    <div class="after">
        <div class="after-lf"  >
            <div class="tc mt30">
                <img src="../img/static/tpcycle.png" alt="">
            </div>
            <div class="mt10 tc">
                评优投票系统
            </div>
            <div class="lf-tp mt10">
                <img src="../img/static/laa.png" class="fl" alt=""> <span class="ml30">投票管理</span>
            </div>
        </div>
        <div class="after-rt">

            <!-- 季度年度 -->
            <div class="select-lf">
                <div class="lf-btn">

                    <div class="btn-l  date_type inb w100 bg" onclick="tabFuc(this)" id="year" date_type_val="1">
                         	年度评优
                    </div>
               
                    <div class="btn-r date_type inb w100" onclick="tabFuc(this)" id="quarter" date_type_val="2">
                         	季度评优
                    </div>

                </div>
            </div>
            <!-- 主体内容 -->
            <div class="content">
                <div class="content-lf">
                    <div class="lf-list" id="voteAwardsNameList">
                    </div>
                </div>
                <div class="content-rg">
                    <div class="rg-box" id ="rg_box" style="display:none">
                        <div class="plr40">
                            <div class="box-top">
                                <span class="ml10">奖项简介</span>
                            </div>
                            <div class="box-title">
                                	活动说明
                                <span class="fr c5f9dab curpointer" onclick ="toEditAwrds()" >
                                    <img class="fl mt8 mr5" src="../img/static/write.png" alt="">
                                    <span>编辑</span>
                                </span>
                            </div>
                            <div class="box-text" id="voteAwardsAbout">
                                1.报名时请提交真实姓名和电话号码作为后期领奖凭证，参与活动。
                            </div>
                            <div class="box-title">
                                	投票规则
                            </div>
                            <div class="box-text" id="voteAwardsRegular">
                                1. 参赛者上传信息，严禁盗用他人照片等信息 &nbsp;&nbsp;
                                2. 禁止参赛作品出现任何非法内容、言论不当等行为 3. 严禁任何作弊行为，系统发现会自动对票数清空
                            </div>
                            <div class="box-time">
                                <span class="span">投票时间： <label id="voteAwardsStartTime"> </label>——<label id="voteAwardsEndTime"> </label></span>
                                <!-- <span class="ca6a6a6">未开始</span> -->
                            </div>
                        </div>

                        <!-- 人物部分 -->
                        <div class="plr40">
                            <div class="rg-search">
                                <div class="search-l">
                                    	搜索：
                                </div>
                                <div class="search-r">
                                    <input type="text" id="searchKey" placeholder="请输入关键词">
                                    <img src="../img/static/search.png" class="r-big" alt="" onclick="subAwardsSearch()">
                                </div>
                                <div class="fr search-add ">
                                    <span class="addChildren" onclick="toAddSubAward()">新增子奖项</span>
                                </div>
                            </div>

                            <div class="rg-table" style="min-height: calc(100vh - 600px);">
                                <table class="table" cellspacing="0" cellpadding="0" id ="subAwardList">
                                    <tr class="tr-th">
                                        <th class="th">子奖项名称</th>
                                        <th class="th">状态</th>
                                        <th class="th">功能选项</th>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                 	<div class="rg-box" id ="rg_box_addAward" style="display:none">
                 	<form id="addAwardForm">
                 		<!-- 新增评优类型 0 -->
                 		<input type="hidden" value="" id="dateType" >
                 		
                        <div class="plr40">
                            <div class="box-top">
                                <span class="ml10" > 新增评优</span>
                            </div>
                        </div>
                        <!-- 新增评优 -->
                        <div class="plr40 inputall ">
                                <!-- <div class="df input-one">
                                    <div class="one-text mr8">
                                        	项目类型：<span class="cred">*</span>
                                    </div>
                                    <div class="one-input">
                                        <input type="text" class="input" placeholder="请输入奖项类型" id="rewardType" >
                                         <select name="" placeholder="请输入奖项类型" class="input" id="rewardType">
                                        	<option value="里程碑奖">里程碑奖</option>
                                        	<option value="价值观奖">价值观奖</option>
                                        	<option value="年度专项奖-HR">年度专项奖-HR</option>
                                        	<option value="年度专项奖-HSE">年度专项奖-HSE</option>
                                    </select> 
                                    </div>
                                </div> -->
                                <div class="df input-one">
                                    <div class="one-text mr8">
                                        	评优名称：<span class="cred">*</span>
                                    </div>
                                    <div class="one-input">
                                        <input type="text" class="input" placeholder="请输入评优名称" id="awardName" >
                                    </div>
                                </div>
                                <div class="df input-one mt30">
                                    <div class="one-text mr8">
                                        	投票时间：<span class="cred">*</span>
                                    </div>
                                    <div class="one-input mr5">
                                        <input type="text" class="input timepicker" id="addstarttime"
                                            placeholder="请选择开始时间">
                                    </div>
                                    <div style="line-height: 34px;" class="mr5">
                                        	至
                                    </div>
                                    <div class="one-input">
                                        <input type="text" class="input timepicker" id="addendtime"
                                            placeholder="请选择结束时间">
                                    </div>
                                </div>
                                <div class="df input-one mt30">
                                    <div class="one-text mr8">
                                        	投票规则：<span class="cred">*</span>
                                    </div>
                                    <div class="one-input">
                                        <div class="input-text text-intro text-regular">
                                         
                                            <div class="box-text">
                                                1. 参赛者上传信息，严禁盗用他人照片等信息 &nbsp;&nbsp;
                                                2. 禁止参赛作品出现任何非法内容、言论不当等行为 3. 严禁任何作弊行为，系统发现会自动对票数清空
                                            </div>
                                        </div>
                                        <textarea class="input-text text-intro-textarea  text-intro-textarea-regular   " name="" id="addAwardRegular" cols="30"
                                            rows="10"></textarea>
                                    </div>
                                </div>
                                <div class="df input-one mt30">
                                    <div class="one-text mr8">
                                        	活动说明：<span class="cred">*</span>
                                    </div>
                                    <div class="one-input">
                                        <div class="input-text text-intro  text-about">
                                            <div class="box-text">
                                                1. 参赛者上传信息，严禁盗用他人照片等信息 &nbsp;&nbsp;
                                                2. 禁止参赛作品出现任何非法内容、言论不当等行为 3. 严禁任何作弊行为，系统发现会自动对票数清空
                                            </div>
                                        </div>
                                        <textarea class="input-text text-intro-textarea text-intro-textarea-about" name="" id="addAwardAbout" cols="30"
                                            rows="10"></textarea>
                                    </div>
                                </div>
                                <div class="df input-one mt30 tpShow">
                                    <div class="one-text mr8">
                                      	  投票规则：<span class="cred">*</span>
                                    </div>
                                    <div class="one-input mr30">
                                        <div class="df tp">
                                            <div class="tp-1">每个人可以投</div>
                                            <div class="tp-2">
                                                <input type="text" id="addVotes">
                                            </div>
                                            <div class="tp-3">
                                               		票
                                            </div>
                                        </div>
                                    </div>
                                    <div class="one-input mr30">
                                        <div class="df tp">
                                            <div class="tp-1">同一人员允许投</div>
                                            <div class="tp-2">
                                                <input type="text" id="addVoteSame">
                                            </div>
                                            <div class="tp-3">
                                                	票
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="df input-one mt30">
                                    <div class="one-text mr8">
                                        &nbsp;
                                    </div>
                                    <div class="one-input">
                                        <input class="btn-add" type="button" value="新增评优" onclick="AddvoteAWards()" />
                                    </div>
                                </div>
                        </div>
                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>

    <!-- 编辑评优 -->
    <div class="tips" id="mengban_pingyou">
        <div class="tips-big"></div>
        <div class="tips-con">
            <div class="con-top">
                <span class="ml10">编辑评优</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick="closeEditAward()">
            </div>
            <div class="inputall">
            	<form   id="editForm">
                    <div class="df input-one">
                        <div class="one-text mr8">
                           	 项目类型：<span class="cred">*</span>
                        </div>
                        <div class="one-input">
                            <input type="text" class="input" id="editAwardsName" placeholder="请输入奖项类型">
                        </div>
                    </div>
                    <div class="df input-one mt30">
               				<div class="one-text mr8">
                             	投票时间：<span class="cred">*</span>
                         	</div>
                         	<div class="one-input mr5">
                             	<input type="text" class="input timepicker" id="editaddstarttime" placeholder="请选择开始时间">
                         	</div>
                         	<div style="line-height: 34px;" class="mr5">
                             		至
                         	</div>
                         	<div class="one-input">
                             	<input type="text" class="input timepicker" id="editaddendtime" placeholder="请选择结束时间">
                         	</div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            	活动说明：<span class="cred">*</span>
                        </div>
                        <div class="one-input">
                            <textarea class="input-text text-intro-textarea " name=""  id="editAbout"  cols="30"   rows="5"></textarea>
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                           	 活动规则：<span class="cred">*</span>
                        </div>
                        <div class="one-input">
                            <textarea class="input-text text-intro-textarea  " name="" id="editRegular" cols="30"   rows="5"></textarea>
                        </div>
                    </div>
                    <div class="df input-one mt30 tpShow">
                        <div class="one-text mr8">
                            	投票规则：<span class="cred">*</span>
                        </div>
                        <div class="one-input mr30">
                            <div class="df tp">
                                <div class="tp-1">每个人可以投</div>
                                <div class="tp-2">
                                    <input type="text" id="editVoteNum">
                                </div>
                                <div class="tp-3">
                                    	票
                                </div>
                            </div>
                        </div>
                        <div class="one-input mr30">
                            <div class="df tp">
                                <div class="tp-1">同一人员允许投</div>
                                <div class="tp-2">
                                    <input type="text" id="editSameVoteNum"	> 
                                </div>
                                <div class="tp-3">
                                    		票
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            &nbsp;
                        </div>
                        <div class="one-input">
                            <input class="btn-add" type="button" value="保存" style="margin-right: 30px;" onclick="editAward()" />
                            <input class="btn-cancle top-close"  type="button" onclick = "closeEditAward()"   value="取消" />
                        </div>

                    </div>
                </from>

            </div>
        </div>
    </div>


    <!-- 新增子选项 -->

    <div class="children" id="childrenSelect">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10" id = "subAwardTitle" data='0' >新增子奖项/编辑子奖项信息</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick = "closeEditSubAward()">
            </div>
            <div style="margin-top: 90px;">
                <from>
                    <div class="df input-one">
                        <div class="one-text mr8">
                            奖项名称：<span class="cred">*</span>
                        </div>
                        <div class="one-input">
                            <input type="text" class="input" id="subAwardName"     placeholder="请输入子奖项名称">
                            <input type="hidden"  class="input" id="subAwardId"  value="">
                        </div>
                    </div>
                    <div class="df input-one mt30" style="margin-top: 100px;">
                        <div class="one-text mr8">
                            &nbsp;
                        </div>
                        <div class="one-input">
                            <input class="btn-add" type="button" value="新增" onclick = 'addSubAward()' id="submitSubAwardbtn"  style="margin-right: 30px;" />
                            <input class="btn-cancle top-close" type="button" value="取消"  onclick="closeEditSubAward()"/>
                        </div>

                    </div>
                </from>
            </div>
        </div>
    </div>

    <!-- 删除子选项 -->
    <div class="tips-mile-text deletchildren" style="display: none;">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10">发布投票</span>
                <img src="../img/static/close.png" class="fr top-close" alt="">
            </div>
            <div class="tp">
                子奖项信息删除后数据不可恢复 <br>
                是否删除此子奖项？
            </div>
            <div class="tc">
                <span>
                    <input class="btn-add" type="button" value="删除" style="margin-right: 30px;" />
                    <input class="btn-cancle top-close" type="button" value="取消" />
                </span>
            </div>
        </div>
    </div>

    <!-- 发布投票 -->
    <div class="fabu-tp" id="fabu-tp">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10">发布投票</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick="closePublishVote()">
            </div>
            <div class="tp">
                是否发布此次投票活动？
            </div>
            <div class="tc">
                <span>
                    <input class="btn-add" type="button" value="发布"  onclick="publishVote()" style="margin-right: 30px;" />
                    <input type="hidden" value="" id="publicSubAwardId"   />
                    <input class="btn-cancle top-close" type="button" value="取消" onclick="closePublishVote()" />
                </span>
            </div>
        </div>
    </div>

    <!-- 结束投票 -->
    <div class="js-tp">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10">结束投票</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick = "cancelfinishVote()">
            </div>
            <div class="tp">
                距离投票结束还有<b> <span id="jsday" > </span></b> 天  <b><span id="jshour"> </span></b> 时<b><span id="jsmin"> </span></b>  分 <b><span id="jssec"> </span> </b>秒<br>
                是否提前结束本次评优？ 

            </div>
            <div class="tc">
                <span>
                    <input class="btn-add" type="button" value="结束"  onclick = "finishVote()" style="margin-right: 30px;" />
                    <input type="hidden"  class="input" id="finishSubAwardId"  value="">
                    <input class="btn-cancle top-close" type="button" onclick = "cancelfinishVote()" value="取消" />
                </span>
            </div>
        </div>
    </div>


    <!-- 推送通知 -->
    <div class="ts-tz tips-mile-text" style="display: none;">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10">推送通知</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick="closeSendMsg()">
            </div>
            <div class="tp">
                是否向员工推送本次评优获奖通知？
            </div>
            <div class="tc">
                <span>
                    <input class="btn-add" type="button" value="推送" style="margin-right: 30px;" onclick="sendMsg()" />
                    <input class="btn-cancle top-close" type="button" value="取消"  onclick="closeSendMsg()" />
                </span>
            </div>
        </div>
    </div>

    <!-- 发布获奖 -->
    <div class="tips-table fb-hj" id="fbhj">
        <div class="tips-big"></div>
        <div class="tips-con">
            <div class="con-top">
                <span class="ml10">发布获奖</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick="closeDeclareVote()" >
            </div>
            <div class="inputall">
                <div class="rg-search">
                    <div class="search-l">
                        搜索：
                    </div>
                    <div class="search-r">
                        <input type="text" placeholder="请输入关键词" id="declareAwardsKeyWords">
                        <img src="../img/static/search.png" class="r-big" alt="" onclick="searckDeclareAwards()">
                         <input type="hidden" id="declareAwardsSubnameId"  value="">
                    </div>
                </div>

                <div class="rg-table">
                    <table class="table" cellspacing="0" cellpadding="0" id="awardTable">
                    	 <tr class="tr-th">
                            <th class="th">选择</th>
                            <th class="th">提名类型</th>
                            <th class="th">提名项目名称</th>
                            <th class="th">被提名人姓名/成员</th>
                            <th class="th">被提名人团队</th>
                            <th class="th">被提名人职位</th>
                            <th class="th">申请人 </th>
                            <th class="th">申请人职位 </th>
                            <th class="th">申请人部门</th>
                            <th class="th">票数</th>
                            <th class="th">小红花</th>
                            <th class="th">留言</th>
                        </tr>
                        <tr class="tr-td">
                            <td class="tdd">
                                <div class="td">
                                    <input type="checkbox" name="">
                                </div>
                            </td>
                            <td class="tdd">
                                <div class="td">
                                    个人
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>

                        </tr>
                        <tr class="tr-td">
                            <td class="tdd">
                                <div class="td">
                                    <input type="checkbox" name="" id="">
                                </div>
                            </td>
                            <td class="tdd">
                                <div class="td">
                                    个人
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>

                        </tr>
                        <tr class="tr-td">
                            <td class="tdd">
                                <div class="td">
                                    <input type="checkbox" name="" id="">
                                </div>
                            </td>
                            <td class="tdd">
                                <div class="td">
                                    个人
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>

                        </tr>
                        <tr class="tr-td">
                            <td class="tdd">
                                <div class="td">
                                    <input type="checkbox" name="" id="">
                                </div>
                            </td>
                            <td class="tdd">
                                <div class="td">
                                    个人
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    关于公司组织架构的建立与完善
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>
                            <td class="tdd tc">
                                <div class="td">
                                    8
                                </div>
                            </td>

                        </tr>
                    </table>
                </div>
                <div class="mt30" id ="isShowDeclearFunc">
                    <span>
                        <input class="btn-add" type="button" value="发布获奖" style="margin-right: 30px;"  onclick="declareVote()"  />
                        <input class="btn-cancle top-close" type="button" value="取消"   onclick="closeDeclareVote()" />
                    </span>
                </div>
            </div>
        </div>
    </div>

    <!-- 提名人员、团队 -->
    <div class="tips-table show-people" id="show-people" >
        <div class="tips-big"></div>
        <div class="tips-con">
            <div class="con-top">
                <span class="ml10">提名人员/团队</span>
                <img src="../img/static/close.png" class="fr top-close" alt="" onclick="closeShowPeopleList()">
            </div>
            <div class="inputall">
                <div class="rg-search">
                    <div class="search-l">
                        搜索：
                    </div>
                    <div class="search-r">
                        <input type="text" id="searchkeyParticipator" placeholder="请输入关键词" value="">
                        <input type="hidden" id="awardsSubnameId"  value="">
                        <img src="../img/static/search.png" class="r-big" alt="" onclick="searchParticipator()">
                    </div>
                    <div class="fr search-add ">
                        <span class="addpeople addtuandui" id="addP">+ 新增</span>
                    </div>
                </div>

                <div class="rg-table">
                    <table class="table" cellspacing="0" cellpadding="0" id="teamPeopleList">
                    	
                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- 删除提名 -->

    <div class="deletTm tips-mile-text">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10">删除提名</span>
                <img src="../img/static/close.png" class="fr top-close" alt="">
            </div>
            <div class="tp">
                提名信息删除后数据不可恢复 <br>
                是否删除此提名人员/团队？
            </div>
            <div class="tc">
                <span>
                    <input class="btn-add" type="button" value="确认" style="margin-right: 30px;" />
                    <input class="btn-cancle top-close" type="button" value="取消" />
                </span>
            </div>
        </div>
    </div>
    <!-- 新增、修改 提名人员 -->
    <div class="tm-add-change" id="addtuandui">
        <div class="tips-big"></div>
        <div class="children-1">
            <div class="con-top">
                <span class="ml10" id="title">新增提名人员</span>
                <img src="../img/static/close.png" class="fr top-close" alt="">
            </div>
            <form class="layui-form" lay-filter="addmember" id="addmembers">
                <div class="inputall">

                    <div class="df input-one">
                        <div class="one-text mr8">
                            提名类型：<span class="cred">*</span>
                        </div>
                        <div class="one-input ">
                            <div class="df" style="line-height: 34px;">
                                <div style="margin-right: 60px;">
                                   		个人： <input type="radio" name="nominatorType" onchange="onchangeNominatorTypeFunc(this)" value="1" title="个人" lay-filter="sex" checked="checked">
                                </div>
                                <div>
                                    	团队：<input type="radio" name="nominatorType" onchange="onchangeNominatorTypeFunc(this)" value="2" lay-filter="sex" title="团队">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="flex1">
                            <div class="df input-one">
                                <div class="one-text mr8">
                                    申请人姓名：<span class="cred">*</span>
                                </div>
                                <div class="one-input">
                                    <input type="text" class="input"   id="applicat" placeholder="请输入申请人姓名">
                                </div>
                            </div>
                        </div>
                        <div class="flex1">
                            <div class="df input-one">
                                <div class="one-text mr8">
                                    申请人二级部门：<span class="cred">*</span>
                                </div>
                                <div class="one-input">
                                    <input type="text" class="input"   id="levelSecondDeptName" placeholder="申请人二级部门">
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="df input-one mt30">
                        <div class="flex1">
                            <div class="df input-one">
                                <div class="one-text mr8">
                                    申请人职位：<span class="cred">*</span>
                                </div>
                                <div class="one-input">
                                    <input type="text" class="input"   id="applicantPosition" placeholder="请选择申请人职位">
                                </div>
                            </div>
                        </div>
                        <div class="flex1 removegeren">
                            <div class="df input-one">
                                <div class="one-text mr8" >
                                                                              被提名人姓名：<span class="cred">*</span>
                                </div>
                                <div class="one-input">
                                    <input type="text" class="input" id="nominatorName" placeholder="请输入被提名人姓名">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- 个人开始 -->
                    <div class="df input-one mt30  removegeren" style="margin-bottom: 30px;">
                        <div class="flex1">
                            <div class="df input-one">
                                <div class="one-text mr8">
                                    	被提名人二级部门：<span class="cred">*</span>
                                </div>
                                <div class="one-input">
                                 <input type="text" class="input" id="nominatorSecondDeptName" placeholder="请选择被提名人二级部门">
                                </div>
                            </div>
                        </div>
                        <div class="flex1">
                            <div class="df input-one">
                                <div class="one-text mr8">
                                    	被提名人职位：<span class="cred">*</span>
                                </div>
                                <div class="one-input">
                                 <input type="text" class="input" id="nominatorPosition" placeholder="请选择被提名人职位">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- 个人完 -->

                    <!-- 团队开始 -->
                    <div class="df input-one mt30 removetuandui" style="display:none;">
                        <div class="one-text mr8">
                            	提名团队成员：<span class="cred">*</span>
                        </div>
                        <div class="one-input">
                            <div class="input w780px" style="min-height: 32px;height: auto;">
                                <div class="df">
                                    <div class="addPeople">
                                        <input type="text" placeholder="如： 张三/李四/王五" id="tuandui">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- 团队完 -->

                    <div class="df input-one">
                        <div class="one-text mr8" id="nonPic">
                            	被提名人的照片：<span class="cred">*</span>
                        </div>
                        <div class="one-input">
                            <div class="layui-upload">
                                <div class="layui-upload-list"> 
                                    <p id="demoText"></p>
                                </div>
                            </div>
                        </div>
                        <div>
                            <img src="../img/static/upimg.png" width="160" height="90" id="uploadArea" style="padding-top:5px" alt="">
                            <input class="layui-upload-file" type="file" accept="" name="file">
                            <input type="hidden" value="" id="imgsrc">
                        </div>
                        <div class="c5f9dab">
                            <div style="margin-top: 60px;margin-left: 20px;">
                                图片比例16：9
                            </div>
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            方案目标：<span class="cred">*</span>
                        </div>
                        <div class="one-input w780px">
                            <input type="text" class="input w100" placeholder="请输入方案目标" id="projectGoal">
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            做了什么：<span class="cred">*</span>
                        </div>
                        <div class="one-input w780px">
                            <textarea name="" id="complete" class="textarea" placeholder="完成了什么业绩.." cols="30"
                                rows="10"></textarea>
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            成就/影响：<span class="cred">*</span>
                        </div>
                        <div class="one-input w780px">
                            <textarea name="" id="influence" class="textarea" placeholder="完成了什么成就/影响" cols="30" rows="10"></textarea>
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            是否有经济效益：<span class="cred">*</span>
                        </div>
                        <div class="one-input w780px">
                            <div class="df">
                                <div class="mr30"  style="margin-top: 10px;">
                                    <input type="checkbox" id="isEconomic" name="isEconomic" lay-skin="switch" lay-filter="switchTest"  lay-text="是|否">
                                </div>
                                <div id="saveMoneyShow">
                                    	节约金额：<input type="number" class="input w60px" id="saveMoney"> 元
                                </div>
                            </div>

                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            	项目名称：<span class="cred">*</span>
                        </div>
                        <div class="one-input w780px">
                            <input type="text" id="nominatorProjectName" class="input w100" placeholder="请输入项目名称">
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                            	项目号：<span class="cred">*</span>
                        </div>
                        <div class="one-input w780px">
                            <input type="text" id="pojectNum" class="input w100" placeholder="请输入项目号">
                        </div>
                    </div>
                    <div class="df input-one mt30">
                        <div class="one-text mr8">
                           	 项目时间：<span class="cred">*</span>
                        </div>
                        <div class="one-input mr5">
                            <input type="text" class="input timepicker" id="projectstarttime" placeholder="请选择开始时间">
                        </div>
                        <div style="line-height: 34px;" class="mr5">
                            	至
                        </div>
                        <div class="one-input">
                            <input type="text" class="input timepicker" id="projectendtime" placeholder="请选择结束时间">
                        </div>
                    </div>
                </div>

                <div class="df input-one mt30">
                    <div class="one-text mr8">
                    </div>
                    <div class="one-input mr5">
                        <span>
                            <input class="btn-add" id="subBtn"  type="button" value="确认" style="margin-right: 30px; "/>
                            <input class="btn-cancle top-close" type="button" value="取消" onclick="closeVoteAwardsParticipatorFunc()" />
                        </span>
                    </div>
                </div>
            </form>
        </div>
    </div>
   
</body>

</html>